package io.renren.modules.media.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("minio预览地址请求对象")
@JsonIgnoreProperties(ignoreUnknown = true)
public class MinioPreviewReq {

    @ApiModelProperty("minio文件地址")
    private String path;

    @ApiModelProperty("有效期时间(单位：秒)")
    private Integer expiry;

    @ApiModelProperty("方式：play、download")
    private String way;
}
